const tree = [
  {
    id: 0,
    authName: '用户管理',
    children: [
      {
        id: 99,
        authName: '用户列表',
        children: [
          {
            id: 100,
            authName: '修改用户'
          },
          {
            id: 101,
            authName: '添加用户'
          },
          {
            id: 102,
            authName: '删除用户'
          },
          {
            id: 103,
            authName: '分配角色'
          }
        ]
      }
    ]
  },
  {
    id: 1,
    authName: '权限管理',
    children: [
      {
        id: 2,
        authName: '角色列表',
        children: [
          {
            id: 104,
            authName: '添加角色'
          },
          {
            id: 105,
            authName: '删除角色'
          },
          {
            id: 106,
            authName: '编辑角色'
          },
          {
            id: 107,
            authName: '角色授权'
          },
          {
            id: 108,
            authName: '取消角色授权'
          }
        ]
      },
      {
        id: 3,
        authName: '权限列表',
        children: [
          {
            id: 109,
            authName: '查看权限'
          }
        ]
      }
    ]
  },
  {
    id: 4,
    authName: '文章管理',
    children: [
      {
        id: 5,
        authName: '文章列表',
        children: [
          {
            id: 110,
            authName: '修改文章'
          },
          {
            id: 111,
            authName: '查看文章详情'
          },
          {
            id: 112,
            authName: '删除文章'
          }
        ]
      },
      {
        id: 6,
        authName: '创建文章',
        children: [
          {
            id: 113,
            authName: '存为草稿箱'
          },
          {
            id: 114,
            authName: '发布文章'
          }
        ]
      },
      {
        id: 7,
        authName: '文章分类',
        children: [
          {
            id: 115,
            authName: '查看分类列表'
          },
          {
            id: 116,
            authName: '添加分类'
          },
          {
            id: 117,
            authName: '删除分类'
          },
          {
            id: 118,
            authName: '修改分类'
          }
        ]
      }
    ]
  },
  {
    id: 8,
    authName: '归档',
    children: [
      {
        id: 119,
        authName: '归档列表',
        children: [
          {
            id: 300,
            authName: '查看归档'
          }
        ]
      }
    ]
  },
  {
    id: 9,
    authName: '轮播图',
    children: [
      {
        id: 120,
        authName: '轮播图列表',
        children: [
          {
            id: 121,
            authName: '修改轮播图图片'
          },
          {
            id: 122,
            authName: '删除轮播图'
          },
          {
            id: 123,
            authName: '添加轮播图'
          }
        ]
      }
    ]
  },
  {
    id: 10,
    authName: '个人中心',
    children: [
      {
        id: 400,
        authName: '个人信息',
        children: [
          {
            id: 401,
            authName: '查看个人信息'
          },
          {
            id: 124,
            authName: '编辑个人信息'
          }
        ]
      }
    ]
  }
]
module.exports = tree
